from flask import Flask
from flask_cors import CORS

from src.day15.student_sys.stu_manager_bp import stu_blue

app = Flask(__name__)
# 解决跨域问题
CORS(app, supports_credentials=True)

app.register_blueprint(stu_blue)


if __name__ == '__main__':
    app.run(port=5010, debug=True)